package com.dotflat.survey.repository;

import com.dotflat.survey.domain.SurveySheet;
import com.dotflat.survey.domain.SurveySheetItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface SurveySheetItemRepository extends JpaRepository<SurveySheetItem, String>, JpaSpecificationExecutor<SurveySheetItem> {

    SurveySheetItem findFirstBySheetIdAndIdAndDeletedIsFalse(String sheetId, String id);

}
